package com.pingan.pastry.rpc.support;

import com.pingan.pastry.Invoker;
import com.pingan.pastry.rpc.SPI;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

public class RemoteProxyHandler implements InvocationHandler {

    private Invoker invoker;

    @Override
    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
        SPI spi = method.getAnnotation(SPI.class);

        return null;
    }
}
